                                RESIZWND.PAS
This component allows control of a Form with style bsSizeable to have
the Minumum and Maximum sizes controlled by the developer.

Originally written and CopyRight 1995-1997
                by Andy Strong - Compuserve ID   : 100716,3015
                                 Internet Address: andrews@nbaqsl.co.uk


Controls:
  This code may be used, modified, included in applications without any
  license agreements as long as the disclaimers are accepted, and the
  comments are left intact ( Some Hope! <g> ),

Disclaimer:
  This software is released into the public domain on the strict understanding
  that neither myself nor any associates or companies I work for have any
  liability explictly or implied.

To Install copy RESIZWND.PAS & RESIZWND.DCR into a component library
directory, select Options|Install components from the main menu
  Select 'Add'
  Select Browse
  Select the '.PAS' file type, and select RESIZWND.PAS
  Click on the OK button, and after a while you should find a new tab on
  your Palette - 'Custom' containing a pretty ICON.


This component may be dropped on any bsSizeable form (but only one per
form - it will stop you <g>).  The component is shareware to do with it
as you will.


In the object inspector there are 6 main properties:

Active:       Defaults to False.  Set this to True at run time
              to enable the sizing restrictions.  Can be set to
              True at design time, but is ignored during designing.

AutoTrack:    If set to True, the Min/Max setting in the Object
              Inspector are adjusted automatically during design time
              as you resize the form. Ignored at runtime.

MaxHeight:    The Maximum allowed Height of the form in pixels. 

MaxWidth:     The Maximum allowed Width of the form in pixels.

MinHeight:    The Minimum allowed Height of the form in pixels.

MinWidth:     The Minimum allowed Height of the form in pixels.



The Maix/Min properties may be set at run time, but the suggested
method is as follows:
   ...
   ...
   with ResizeForm1 do
   begin
     Active := False;
     MaxHeight := 480;
     MaxWidth  := 640;
     MinWidth  := 150;
     MinHeight := 100;
     Active := True;
   end;
   ...
   ...
   

  Any suggestions (printable ones please <g>) or problems can be mailed to
  me at one of the above addresses.


  Enjoy ;-)

  Andy


